added logic for the "B" letter grades