refactored tweetsadapter