PEP8 maxwell cavities