implemented paint components