now uses plugins