added rt_id in encoding
Merge pull request #413 from Ritesh-patel/master

added rt_id in encoding