adding sentinel