removed old conversion functions