adds Split func to templates. go fmt