making things use addBuilding function