Enable callback functions

Add callback for clock