added twitter functionality