trying to encoding to work