add numpy and theano ref