new with repaint() => multithreading works