add votes and build relationships