the beginning of task module