removing the sentinal stuff