reimplemented demo app on top of e3 instead of e4