added Dietmar funcs in plugins