record time with Task Model
refactor Task Model