consistent length(0) cases handled