add plugin construct