updated get_gaps to remove the question type parameter which was not used in the code
ignore this commit