implemented b and w color