Yes, check first() appears to be better option than for loop with rewind. Changed.