add encoding snippet