remove IntToString function and replaced with stringWithFormat