added a nice loop to loop over days