The q_view function is missing the $q_view parameter