moving converter to static class