added reset function to walls