make function name setColor consistent