updated for python 2.7 Set up as demonstration for class at DMS