added color persistance