sentinel example