Added variable q.