set up relationships. please test it.