added wallChecks