gostop written in c