Why do we need this flad? If this class is used, doesn't it mean we want to optimize?