possible working q-learning