using six packaged with Theano