complection is twobreak. legend.dot seperatly. changes structure code