adding proper callback names: onEnd, onPause, onSolution, onTimeout and onValue