changed price from minimum to average