formatting search