qlearining implemented