Somewhat working rnn.