qlearning process with very few variables