added switch for animation modes