Added flagType in the data returned