added timing helper; reworked examples