Successfully registers trips, now trying to make it generic