implement taskExecution class