added some check prints for time check, and removed duplicated calc in debug output