now using copy of neural net for every iteration