make a new class called DList which is not working properly at this moment