Added explanation for q