reverted to previous working version of tsChipsRGB