done validation,First code review by gaurav sir