working on displaying date correctly