added pricing equations to populate text boxes