adding inactive-days as a optional param and default of 365 days