caught edge case out of bounds (need to add test case to reproduce...i passed empty strings...weird)