changed behavior of demo