added server validations