re-structured twitter bot