This is a crazy amount of nesting.