take first element of list