first commit, qlearning