added the timelapse generator