try to program a chainedList