added last day and changed to 6 months from a year