adjusted index and app layout