remade Mydate(need to find better name) and integrated in project, little bit refactored