Added reset and get diff