critical edge code included