refactored timeline templete