added the alsoAnimate functionality