nested structure setup