1. Cleaned up the example program