now using a proxy to simplify enum conversion