added data structure for animation