modified plugin format