add timer and test
add timer and test