add converting between formats