Reasoning and Acting