added function for extracting info from all tweets