Thinking dog