Added list() function