created foundation for view