Adding task implementation