not sure how to make this one any cleaner, but there's a lot going on in this one-liner