Added first functions for trip planning tool