adding parse function for upvote downvote regulations