started writing full comm demo, added old version for posterity