add remain days support