added Twitter functionality