improved search formatting