parseInt added to convertData()