changed to view