documented plugin code