Task initialization