simple wall detection