added change for reset as well