This is fine, but I think the call to `len` might not be necessary.