app now plagued with n+1