more work on plugins