Changed PrepareViewData() to PrepareData()