basic skeleton for the demo; mostly cut-paste from SBS paper; will complete in the morning PST