restyle of class val fields