Initial version of go code