Thank goodness there’s an elegant method