modified grader to use rest API for fetching