added tweet score logic