fixed entry date loop