Restored missing end