Added modify_number method