learnerrecognizernode modified to include decition making function -needs reviewing-