start to add boundary term