updated example to include setting text color