how to make a checked pattern