setting up some relations