@ Updated Framework with view data from database