initial but broken class based plugin