Refined the decide command.