modifyed to allow serial computation
daily changes