add std timer and template