preparing Animation class