thanks very much, that worked great, could you explain a little bit what the findBetween function does?