refactor buildings. add title for buildings