added animation sequence functions