Title: The Logic of decision and action