before adding relationships