add docu for functions