More working on flags