first validations and tests