Refactored get_data() Method in 'Popular' Class