styles optimalization