Added a main sentinel

Not really required here, but just to get into the habit.