Ray wall detection is working