Pass grade values to grondend correctly.