remove old color function