fixed graphics error
updated version ... working on calculating percentages
updated version ... working on calculating percentages
figured out logic behind calculations