added flags.