parsing flags, moar formats