demo for CS572 app layout