add building from the reference to the image