work on BayesianWorkingMemory.chooseAction