basic layout and index done