added soft reset