removed unused paint object