Changed reset procedure