added dining example using join patterns