before animations