added animation
added some flags using the new animation property