What about "fail[]".length() instead of 5?