modifying search pattern