preparing for encoding support