updated wrapper, using groovy compile static