updated convolutional encoder and added data queue