add in variable time end