Added second solution for Twitter