added final stage of current ECdemo project