more abstract search function plugin slot