added validations for my objects