solutions to p1a and p1b now produce images that are black on white or colored on white