Addressing issue #38 implementing grouped items handling.