added twitter funtionality