rewrite of most styling