Support for capturing flag