finished relationship between res and building