updated validation
c