implemented groups view