added new encoder model.