creating correct obj references