Modified and renamed the sample view controller.