trained dogs can understand their master's commands