removing-elif-part1

defined the needed parameters into integers at the beginning
-This removes the need for elif statements