added resolve for leap year