private String getInfo(House house) { return new StringBuilder() .append("Cost: ") .append(house.getCost()) .append("\nWalls: ") .append(house.getWalls().size()) .append("\nEnjoy your new ") .append(house.getShape()) .append(" house!") .toString(); }