adding type to enumeration is not very convenient thing to do. please, consider making this an anonymous enumeration