Reason in action: a realist account