vertical and horizontal checking engine complete