Cost works for search