added ag plugin