assign task before complete it.