put flags into their own header