For coding standards, can you consolidate this with the previous line as `} else {`?