small refactoring of the groovy band