index cont and view