Changed viewSample to include loader
Changed viewSample to include loader