fill in index controller