added class list functionality for index