Added Enum method

Longer but more skillful and less childish.