comments in sample; update the ui prototype