Is there a reason for the nesting here?