support grouping for function(args)