Refactored to shorten.