added wall functionality