need to update find prefix 
needs to go pass index of keys