Added functions for working with tweets