Working twitter patch to add my own functionality