Adding wall detection