Original enum algorithm was actually benum algorithm.  Also wrote the correct enum algorithm.