edited trying to get trips per mile to work