use string for MaxAttempts