timer lib tested and working