Add hint for tweet input, reformatted some code