replaced hardcoded search