Title: Complex cavity analysis