adding animation and missing line