parseInt doesn't do what you think it does (and I think it saw it in other places too). 

`The parseInt() function parses a string and returns an integer.`

This code will work because JS tries to blur the distinction between Numbers and Strings but in general we shouldn't need parseInt at all