db validations added