add FlexablePainter