refined the buiding stuff