back end work for timelapse