added unique dates mechanism