Trying to figure out if encoding is correct adding trace to mapper