Adding duty_number function who is a part of the program