Almost done with the Go code, really weird bug I have to fix later