add init to tasks