Some list-related functions added