Use parseInt instead of Number function