qlearning and mandator joined