beginning and ending flags for a level