complete working ebm core demo