temporary code : reversing the code dictionary