updated the method tracker with the new Date class