corrections

spelling correction for var validate , comments added, name date class
added