some bdry modifications