properly set end time (but it's still too late, apparently?