clearing out structure