added single color function