parseInt method used