add qep and timetick