Added new method of painting