hard sequence problem, linked list summary added