Added link between encoder and decoder