added some comments, ensure the mru is updated when an element is found