created relationships with quiz model