old demo template. needs to be fixed
some cleanups