added support for different point colors