Ran code through validator

Made corrections according to it.