running out of swift-ish things to do to make the code more concise and elegant.