Created a common data structure for views