adding hookup for search api