alogorithm optimized for paid content, fixed most bugs