changes to lenet_old