added go-wait example