implemented time ranges in trMerge