added basic timer wrapper