made flag.go more complete