rewrite tournaments backend for performance