added modify_number method