minor changes, added simple demo