The man we followed suddenly stopped and looked as if _________ whether he was going in the right direction.