adding query for difficulty