added support for random colors