instead of log.Fatal it should be log.Println, otherwise ST will die if for some reason x can't be turned into a float64