added encoder docs