minor modifications to integral structure.