Added validations to the grades one by one, will refactorize later.