add control for correct date