prepare for tasks