added todo annotation for isValid & validate method