boundary terms