training and testing implemented (without RSNP) - readou to tune