trying to find corrent indices for tips