add find method to enum