updated to use new twitter library