new quorum code structure