added object notation example for enums