used gofmt to format syntax according to go standards