added some comments
UI for demo