Fixed parseInt
Took out useless stuff