update with priceRange method and remove extra - on the formatDate method