updated gi demo, first functional version