auto initialise content classes
work on paging