fleshed out documentation; tweaked demo