create grades method