create group and entity view group works