list-head: use simpler API