add erase mechanism and improved color changing