had to fix the outcome by using parseInt on my variables