started working on ex4 
check: why do i need dateTmp