refined the building stuff