cleaned up code for populate tweet