initial implementation of sentinel, no tests yet