coding for first demo page