refactoring edit timeline, finished passing around timelines to be edited