adding encoding
starting working on encoding