registering tasks to process