added creation of groups and computing