rename encode to travlrmap