adding group functions for handlers