solution ready for tests. Nperf.Core tested