get_prices is a function
price cache is functional