this application will determine a grade