added twitter functions
cleanup