trans adding some validations