fixed doc
init read with 0 per default
added documentation for transition