setting sentinel.