changing the return logic of create_what_to_do_list function