adds animation