animated plot and working solver