attempt to loop through keys of associated model