better handling of twitter