added special api to do the reset