added setColor (heaps compat)