https://medium.com/@codingbeauty/how-to-convert-a-string-to-a-number-using-the-parseint-function-in-javascript-aca149786023