removed hard-coded group ids from code