fixed up demo