Added reset query