improvement of the boundary conditions sections