solves training problems