finished solution for twitter 2