I have a hard time understanding what is the semantic of this method. Why taking the first element? What happens if the list is empty?