refactored min.'s code from sad tweets

into this project :)