init with index controller