refactored timer experiment