added groups api