integrated legacy styles into reasonable format