pulled tweeting out into method