Created views for API