Keep track of flags