add find next and find previous functions