bunch of helpers in go, for stuff I'm annoyed to write each time