Simplified code for adding walls