added select parameter to the query operation