animation length attribute added