list function and archive function added to list view