example moved from integrator to core