add extra credit special case to grade caclulation