improved code for dry spell days