change to open boundaries starts here