submitTask inside of processTask