working paint from different class