adds dynamic exploration (needs tuning) and training mode