Better way for find next and previous entry.