made font class working