Add closed flag