lower layer neural net written, untested