added boundary conditions to uwuw