New attempt to fix arguments for list() function