changed do_nice()