updated sentinel parsing and added test on sentinel