First list function uses `doc` but it seems like it should use `head`