class pred printing