create trip validation, event handlers