changing to q instead of Q