Trying a different day algorithm