adding query translator