purpose of walls