Added first draft of while-loop for adding results by date-range