[FOLD] timer routines
[FOLD] tidying