reworked neural net