added tweeting function