Add grade details functionality