Much more difficult version of MermaidPhoenix's project | ScratchStats