getting number from user obj.