worked with index and most popular templates