added 16ms delay, before & after callbacks, clear=reset