Before system reset