Time Overlap Function done