added implementation of go and goscope