This is a case where the imperative style is more concise and simple, so I'll leave it the way it is.