Renamed the input parameter to search overlay function