added functionality to Search and SearchAction classes