parse animation