more concise example code. this is livecoding after all.