changed get-behavior-action to get-behavior-action-for-player