early work on plugins