Is there anything that would lead this to being length 0? Should have an else clause just in case.