adding animation attributes