Added "var" before $plugin