add example for enum and annotation