Would it be possible to simplify this line?