Adds two-dim checks