add new methods of tryMarshal