add the query step