better control of animations