add surf detection