added class to pages