make timeline more generic.