Rewrite of the tasks