added twitter handling