modified plugin