significant progress toward working plugin