finallizing eding grade in a class