added timelapsing