added new way for plugin integration