Iterate over resolutions. Refactor for neatness.