Lego: added doBlackAndWhite functionality