formatted code using gofmt