use parseint to cut off trailing zeros'