Passenger function

Added passenger function.