Took out unused functions, calculates product prices