added validations in timeInTransit.js