parseInt, my new friend. welcome to it