We have done encoding