prepare to last task