class fields printing