add support to enum