changed some doku stuff and ported michas utils