more goto
added docs