added some features to SimpleAnimation