final commit - problems with comparing dates