some progress with plugin