check if there's a group in q_val