sample code used for Caleb's talks and workshops