add error handling so nothing happens if twitter fails