added delayAnima2d and delayAnima3d