implemented number simulation and d3 animation for debugging