#210: Here is one implmentation. Ask Patrick/etc for feedback