examination before a magistrate