slight refactor to twitter client