to list then array