His sample program was broken.. and its a little less broken now... Feel free to scrap this file or make changes.