added relationships between item and group but needs to be revised