add grader - move some function to resource