validation for -1