implemented SearchAPI