added dictionaries and first attempt at calc price