Working with painter method