Completed Code for First and Second Views