added some test code that is commented out