working through pivot tables and 'eager loading'