draft of groovy plugin