some work on plugins