added doku and small tweak