classes and method separated index pages