seperated the animators queue logic to a special class