solved 2 problems: now only shows 10 most recent and doesn't show duplicates