adding id encoding.