changed all goto-output, building.getInfo() method