add other detect method