added loading to view and list