avoid n+1 statements in controllers