added a black-and-white mode