boundary conditions added