all the agents now internally keep track of all behaviours and remove them upon cancelling a step.