added enumeration support
Merge pull request #7 from adeel41/patch-3

added enumeration support