Always use reset() which forces array pointer to first key
Add more data to the arrays for debugging