added ex10.go