refactoring and stop looking for trips tomorrow if its late