make custom groups work