step 1 in modernizing this plugin