go fmt
Refactored the way to get params with a nicer api