added trip calc