add the method of inordertreading