modified analyse.go