added recent info, next/previous links, updated query