implemented wall functionality