Add example of encoding