modified core list example to illustrate problem