implement stops by trip id; finalize trips by minute