separating function from user input

they all say (all of them, literally every single one of _them_) this is a good idea