getting nested relations working