Action selection mechanism