finally got a custom plugin worknig