changed end-of-list