casting to ints  with parseInt