replace parse with valueOf to avoid boxing