Added reset functions