added textarea instead of text for encoder, decoder