changed the way I handled a number

now that i understand “int” i’ve changed a parameter to an input rather
than a static, and will try to repurpose the static I was using.