change setColor() from public to private