first draft of boundary conditions