still working on refactored significance procedure