finished relation between building and res