The indentation makes this conditional difficult to read. Maybe break this into a method?