avg background color, removed unsued styles