should probably use md.getGroup() instead of the property access