The encoder structure