plain implementation of mac timer