edit content view
simplify scala program
simplify scala