initialize as a plugin