replaced style with proper style document