outline components of encode