edited nnpy