initialize task