Changed strings to numbers because JavaScript