Changed to the functions I wanted (with help from Sam Farina .... Thanks sam.)  added the switch statements to get rid of all of the if statements that i haf