implement market date routine