adding validation
db changes