added flag
removed some flag programs