creating associations works