set up up votes and ranking of posts