findQuestion api code is optimized