improve Debugfunction; adding second leapYear