How did the captain caught the thief