adding some groovy classes for older problems