added minPrice and maxPrice