called paging correctly passing class name