better output for search