The brown dog sniffs the back of a smaller black dog .