Better destruction of unused functions, wary of the animations timing