implement demo page