refactor: prepare the code to handle task abstraction at execute