adding Ag plugin