added missing initialize/shutdown functions