refine code to news values and strings