storing the prices in an array to try to optimize performance slightly