Is there a more elegant way to write this sentence?