updated for search