Yeah, this is a spot where static typing is convenient for the sake of input validation ;0