still not working, but closer…. remove oriIndexLength > 0 requirement