add x2j and j2x wrapper functions for new methods