class credit