refactored answers and upvoters to use arrays